package it.poli.IA.space;

import it.poli.IA.TilesGame.TileActionEnum;

public class ActionEnumObject {
	public Object actionEnumSelected ; 
	
	@Override
	public String toString()
	{
		if (actionEnumSelected instanceof TileActionEnum)
		{
			TileActionEnum ae = (TileActionEnum) actionEnumSelected;
			return ae.toString();
		}
		else
		{
			return actionEnumSelected.toString();
		}
	}
}
